.class Lcom/htc/android/footprints/activity/PostcardActivity$8;
.super Ljava/lang/Object;
.source "PostcardActivity.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/htc/android/footprints/activity/PostcardActivity;->onCreateDialog(I)Landroid/app/Dialog;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/htc/android/footprints/activity/PostcardActivity;


# direct methods
.method constructor <init>(Lcom/htc/android/footprints/activity/PostcardActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1160
    iput-object p1, p0, Lcom/htc/android/footprints/activity/PostcardActivity$8;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 4
    .parameter "dialog"
    .parameter "which"

    .prologue
    .line 1161
    packed-switch p2, :pswitch_data_0

    .line 1196
    :goto_0
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    .line 1197
    return-void

    .line 1164
    :pswitch_0
    iget-object v1, p0, Lcom/htc/android/footprints/activity/PostcardActivity$8;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    #calls: Lcom/htc/android/footprints/activity/PostcardActivity;->doFindOnMap()V
    invoke-static {v1}, Lcom/htc/android/footprints/activity/PostcardActivity;->access$1400(Lcom/htc/android/footprints/activity/PostcardActivity;)V

    goto :goto_0

    .line 1169
    :pswitch_1
    :try_start_0
    iget-object v1, p0, Lcom/htc/android/footprints/activity/PostcardActivity$8;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    iget-object v1, v1, Lcom/htc/android/footprints/activity/PostcardActivity;->mService:Lcom/htc/android/footprints/ILocationAgentService;

    invoke-interface {v1}, Lcom/htc/android/footprints/ILocationAgentService;->continueTracking()V

    .line 1170
    iget-object v1, p0, Lcom/htc/android/footprints/activity/PostcardActivity$8;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    iget-object v1, v1, Lcom/htc/android/footprints/activity/PostcardActivity;->mService:Lcom/htc/android/footprints/ILocationAgentService;

    const/4 v2, 0x1

    invoke-interface {v1, v2}, Lcom/htc/android/footprints/ILocationAgentService;->setTimeoutNotify(Z)V
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 1171
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 1172
    .local v0, e:Landroid/os/RemoteException;
    invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

    goto :goto_0

    .line 1177
    .end local v0           #e:Landroid/os/RemoteException;
    :pswitch_2
    iget-object v1, p0, Lcom/htc/android/footprints/activity/PostcardActivity$8;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    invoke-virtual {v1}, Lcom/htc/android/footprints/activity/PostcardActivity;->getWindow()Landroid/view/Window;

    move-result-object v1

    const/16 v2, 0x80

    invoke-virtual {v1, v2}, Landroid/view/Window;->clearFlags(I)V

    .line 1180
    iget-object v1, p0, Lcom/htc/android/footprints/activity/PostcardActivity$8;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    #getter for: Lcom/htc/android/footprints/activity/PostcardActivity;->mGpsText:Landroid/widget/TextView;
    invoke-static {v1}, Lcom/htc/android/footprints/activity/PostcardActivity;->access$1500(Lcom/htc/android/footprints/activity/PostcardActivity;)Landroid/widget/TextView;

    move-result-object v1

    iget-object v2, p0, Lcom/htc/android/footprints/activity/PostcardActivity$8;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    invoke-virtual {v2}, Lcom/htc/android/footprints/activity/PostcardActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f0a0012

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1184
    :try_start_1
    iget-object v1, p0, Lcom/htc/android/footprints/activity/PostcardActivity$8;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    iget-object v1, v1, Lcom/htc/android/footprints/activity/PostcardActivity;->mService:Lcom/htc/android/footprints/ILocationAgentService;

    invoke-interface {v1}, Lcom/htc/android/footprints/ILocationAgentService;->stopTracking()V

    .line 1185
    iget-object v1, p0, Lcom/htc/android/footprints/activity/PostcardActivity$8;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    iget-object v1, v1, Lcom/htc/android/footprints/activity/PostcardActivity;->mService:Lcom/htc/android/footprints/ILocationAgentService;

    const/4 v2, 0x1

    invoke-interface {v1, v2}, Lcom/htc/android/footprints/ILocationAgentService;->setTimeoutNotify(Z)V

    .line 1186
    iget-object v1, p0, Lcom/htc/android/footprints/activity/PostcardActivity$8;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    #calls: Lcom/htc/android/footprints/activity/PostcardActivity;->updateToFootprint()V
    invoke-static {v1}, Lcom/htc/android/footprints/activity/PostcardActivity;->access$900(Lcom/htc/android/footprints/activity/PostcardActivity;)V

    .line 1187
    iget-object v1, p0, Lcom/htc/android/footprints/activity/PostcardActivity$8;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    #calls: Lcom/htc/android/footprints/activity/PostcardActivity;->updateAccuracyToIndicator()V
    invoke-static {v1}, Lcom/htc/android/footprints/activity/PostcardActivity;->access$1000(Lcom/htc/android/footprints/activity/PostcardActivity;)V
    :try_end_1
    .catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_1

    goto :goto_0

    .line 1190
    :catch_1
    move-exception v1

    move-object v0, v1

    .line 1191
    .restart local v0       #e:Landroid/os/RemoteException;
    invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

    goto :goto_0

    .line 1161
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
    .end packed-switch
.end method
